package com.xc.freeapp.request.bean;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;

public class ResetBean {
	@NotNull(message="新密码不能为空")
	private String newloginpw;
	private String verificationCode;
	@Pattern(regexp="^[1][3,4,5,8,7][0-9]{9}$",message="手机号码格式错误")
	private String telephone;
	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getNewloginpw() {
		return newloginpw;
	}
	public void setNewloginpw(String newloginpw) {
		this.newloginpw = newloginpw;
	}
	public String getVerificationCode() {
		return verificationCode;
	}
	public void setVerificationCode(String verificationCode) {
		this.verificationCode = verificationCode;
	}
	@Override
	public String toString() {
		return "ResetBean [newloginpw=" + newloginpw + ", verificationCode="
				+ verificationCode + ", telephone=" + telephone + "]";
	}
	
	

}
